package com.tanxi521.tnweb.mapper;

import com.tanxi521.tnweb.model.MailBoxPlayer;
import org.springframework.stereotype.Repository;

@Repository
public interface MailBoxPlayerMapper {
    int deleteByPrimaryKey(Integer mail);

    int insert(MailBoxPlayer record);

    int insertSelective(MailBoxPlayer record);

    MailBoxPlayer selectByPrimaryKey(Integer mail);

    int updateByPrimaryKeySelective(MailBoxPlayer record);

    int updateByPrimaryKey(MailBoxPlayer record);

    int selectSendCountByPlayerName(String userId);

    int selectReceiveCountByPlayerName(String userId);
}